You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLMtxVec Class > TOpenCLMtxVec Methods > Sub Method > TOpenCLMtxVec.Sub Method ([In] TOpenCLMtxVec, [In] TOpenCLMtxVec, int, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLMtxVec.Sub Method ([In] TOpenCLMtxVec, [In] TOpenCLMtxVec, int, int, int, int)

Subtract Vec22 elements [Vec2Index]..[Vec2Index+Len-1] from Vec1 object elements [Vec1Index]..[Vec1Index+Len-1].

Syntax
C#
Visual Basic
public TOpenCLMtxVec Sub([In] TOpenCLMtxVec Vec1, [In] TOpenCLMtxVec Vec2, int Vec1Index, int Vec2Index, int Index, int Len);

Stores the results in calling object elements [Index]..[Index+Len-1]. Size and TOpenCLBase.ComplexComplex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun or underrun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!